<template>
  <!--   登录、注册、忘记密码、按钮   -->
  <van-row type="flex" justify="center" class="sub-btn">
    <div>{{btnText}}</div>
  </van-row>
</template>

<script>
  export default {
    name: "sub-button",
    props: {
      btnText: {
        type: String,
        default: '按钮',
        require: true
      }
    }
  }
</script>

<style scoped>
  /* ⬇ 登录按钮 ⬇ */
  .sub-btn > div {
    background: url(../images/login-btn@2x.png) no-repeat;
    background-size: 100% 100%;
    width: 295.5px;
    height: 60.5px;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 16.5px;
    line-height: 52.5px;
  }
</style>